#pragma once

#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <cstring>
#include <vector>
using namespace std;

#define MAXX 12
#define MAXY 12
#define SNAKE_MAX_LENGTH 20
#define SNAKE_HEAD 'H'
#define SNAKE_BODY 'X'
#define BLANK_CELL ' '
#define SNAKE_FOOD '$'
#define WALL_CELL '*'

typedef struct snake_cell {
	int x, y;

	snake_cell(int tx, int ty) :x(tx), y(ty) {}
}Snake_cell;

//output the cells of the grid
void output_map();

void init();



